package cn.itsource.pethome.user.service;

import cn.itsource.pethome.user.domain.dto.WechatUserDto;

import java.util.Map;

public interface IWechatService {
    /**
     * 通过验证码获取令牌和用户地址
     * @param code
     * @return
     */
    public Map<String,Object> handleCallback(String code);

    /**
     * 绑定微信
     * @param wechatUserDto
     * @return
     */
    Map<String,Object> binder(WechatUserDto wechatUserDto);
}
